// 列表每列
export const listColumns = [
  { title: '供应商名称', dataIndex: 'supplierName', fixed: 'left' },
  { title: '供应商类型', dataIndex: 'supplierTypeName', slotName: 'supplierTypeName' },
  { title: '供应商联系人', dataIndex: 'contactsName', slotName: 'contactsName', width: 150 },
  { title: '累计支出(元)', dataIndex: 'allExpenses', sortable: { sortDirections: ['ascend', 'descend'] }, width: 150 },
  { title: '状态', dataIndex: 'statusName', slotName: 'statusName', width: 100 },
  { title: '创建时间', dataIndex: 'createTime', width: 170 },
  { title: '创建人', dataIndex: 'createUser', width: 120 },
]

// from
export const formRules = {
  supplierName: { required: true, message: '请输入', trigger: 'change' },
  supplierType: { required: true, message: '请输入', trigger: 'change' },
}
